package fr.ajicommerce.core.dao.implementation;

import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import fr.ajicommerce.core.dao.generics.GenericDAO;
import fr.ajicommerce.core.dao.interfaces.IPhotoDAO;
import fr.ajicommerce.core.entities.Photo;

@Component("photoDAO")
@Transactional
public class PhotoDAO extends GenericDAO<Photo, Long> implements
IPhotoDAO {
	public PhotoDAO(Class<Photo> entityClass) {
		super(entityClass);
	}

	public PhotoDAO() {
		super(Photo.class);
	}

}
